AppleScript is an application scripting extension put out by Apple.
It requires at least System 7.1. It does not come with every new Mac
(yet.)
It currently is included in the System 7 Pro package and will be included
in the (is this number correct?) 7.5 upgrade.
The PowerMacs and AVs include it.
Note: It is not Installed during an "Easy Install" on the PowerMac
system installers. But it is part of the package.
Hypercard v 2.2 in anticipation of the OpenDoc being developed.
You can also get it with "The Complete Applescript Handbook" by
Danny Goodman.
You can also get it now bundled with MacHTTP 1.3. However MacHTTP doesn't
include the script editor to compile new AppleScripts.
AppleScript scripts must be saved as text to be launched by MacHTTP.
Check out the list: 'MACSCRPT' by sending mail to:
LISTSERV@DARTCMS1.DARTMOUTH.EDU
with no subject and the message:
SUBSCRIBE MACSCRPT YourFirstName YourLastName
don't include your .signature.
Sample Script:
tell application "MacHTTP" of machine "OAC7" of zone "UT Backbone"
set rep to Status Report
end tell
set AppleScript's text item delimiters to ","
set connections to word 2 of text item 1 of rep
set bytes to word 2 of text item 12 of rep as integer
set bytes to round (bytes / 1024)
set currMem to word 2 of text item 10 of rep
set timeouts to word 2 of text item 8 of rep
set output to "Connections: " & connections & " Transmitted: " & bytes & "K" & return
set output to output & "Memory: " & currMem & " Timeouts: " & timeouts
display dialog output
5/19/94 - gneufeld
MacHTTP Contents